package cn.wolfcode.mapper;

import cn.wolfcode.domain.Question;
import java.util.List;

public interface QuestionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Question record);

    Question selectByPrimaryKey(Long id);

    List<Question> selectAll();

    int updateByPrimaryKey(Question record);

    List<Long> listAllRadio();

    List<Long> listAllCheckbox();

    List<Long> listAllEstimate();

    List<Question> listAllByExamId(Long id);
}